package com.mycloud.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * Created by PC on 2019/1/5.
 */
@Configuration
public class RfcConfig {

    @Bean
    public Integer setRfc() {
        System.setProperty("tomcat.util.http.parser.HttpParser.requestTargetAllow","|{}");
        return 0;
    }
}
